import UIKit
import SnapKit

class DrapWordCardView: UIView {
    let label = UILabel()
    override init(frame: CGRect) { super.init(frame: frame); setup() }
    required init?(coder: NSCoder) { super.init(coder: coder); setup() }
    private func setup() {
        backgroundColor =  Colors.yellow //UIColor(white: 0.18, alpha: 1)
        layer.cornerRadius = 10
        label.font = UIFont.boldSystemFont(ofSize: 25)
        label.textColor = .white
        label.numberOfLines = 0
        label.textAlignment = .center
        addSubview(label)
        label.snp.makeConstraints { make in make.edges.equalToSuperview().inset(8) }
    }
}
